﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="LisenceAdd.aspx.cs" Inherits="Ankin.EHBH.Web.Modules.MasterData.LisenceAdd" Title="医用耗材管理系统" %>

<%@ Register Src="../../Controls/wucFileUpload.ascx" TagName="wucUploadFile" TagPrefix="uc1" %>
<%@ MasterType VirtualPath="~/MasterPage.master"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphcenter" runat="server">
 <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/jquery.flexselect.js" type="text/javascript"></script>
    <script src="../../js/liquidmetal.js" charset="gb2312" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../Public/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript">
      $(document).ready(function() {
        $("select[class*=flexselect]").flexselect();
        //$("input:text:enabled:first").focus();
        
           //获取产品名
         
        $('#ctl00_cphcenter_ddlProduct_flexselect').blur(function() 
        {var tt = $('#ctl00_cphcenter_ddlProduct_flexselect').attr('value');

            if(tt!="")
            {
                 $('#<%=ddlProductHide.ClientID %>').setSelectedText(tt);
            
                 //触发onchang事件
                 $("#<%=ddlProductHide.ClientID %>").change();
            }
        })
        
        
        });
    </script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="right-color">基础信息管理--资质管理</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:14px;">
  <tr>
    <td class="bor bor-bg">资质添加</td>
  </tr>
  <tr>
  <td class="bor"><table width="100%" class="t1" border="0" cellspacing="0" cellpadding="0">
      <asp:Panel ID="panLisence" runat="server" Visible="false">      
      <tr>
    <td align="right" width="100">资质号：</td>
    <td class="bm">
        <asp:Label ID="labLisence" runat="server" Text="Label"></asp:Label></td>
  <%--</tr>
  <tr>--%>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  </tr>
  </asp:Panel>
    <tr>
    <td align="right">单位类型：</td>
    <td>
        <asp:DropDownList ID="ddlSellType"  Width="190" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlSellType_SelectedIndexChanged">
        </asp:DropDownList>&nbsp;</td>
  <%--</tr>
  <tr>--%>
    <td align="right" style="height: 22px">单位名称：</td>
    <td style="height: 22px">
        <asp:DropDownList ID="ddlSell" Width="190"  runat="server">
        </asp:DropDownList>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">
        证书类型：</td>
    <td>
        <asp:DropDownList ID="ddlLicenseType" Width="190" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlLicenseType_SelectedIndexChanged">
        </asp:DropDownList>&nbsp;</td>
 <%-- </tr>
  <tr>--%>
    <td align="right">证书编号：</td>
    <td>
        <asp:TextBox ID="txtLicenseNo" runat="server" Width="190"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">有效期：</td>
    <td><input id="expireDate" type="text" onClick="WdatePicker()" runat="server" style="width: 95px"/></td>
  <%--</tr>
  <tr>--%>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  </tr>
   <asp:Panel ID="PaType" runat="server">
      
  <tr>
    <td align="right" width="100">产品名称：</td>
    <td>
        <asp:DropDownList ID="ddlProduct" runat="server"  Width="190" AutoPostBack="True"  OnSelectedIndexChanged="ddlProduct_SelectedIndexChanged">
        </asp:DropDownList>&nbsp;<div style="display:none"><asp:DropDownList ID="ddlProductHide" runat="server" AutoPostBack="True"
            OnSelectedIndexChanged="ddlProduct_SelectedIndexChanged">
        </asp:DropDownList></div></td>
  <%--</tr>
  <tr>--%>
    <td align="right">规格型号</td>
    <td>
        <asp:DropDownList ID="ddlSpec" Width="190" runat="server">
        </asp:DropDownList>&nbsp;</td>
  </tr></asp:Panel>
    <tr>
    <td align="right">授权单位类型：</td>
    <td>
        <asp:DropDownList ID="dllRightsType" runat="server" Width="190">
        </asp:DropDownList>&nbsp;</td>
 <%-- </tr>
  <tr>--%>
    <td align="right">授权单位：</td>
    <td>
        <asp:DropDownList ID="dllFactory" runat="server" Width="190">
        </asp:DropDownList>&nbsp;</td>
  </tr>
</table>
<table width="100%" style="margin-top:13px; margin-bottom:13px;" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
    <uc1:wucUploadFile id="WucUploadFile1" runat="server">
    </uc1:wucUploadFile></td>
</tr>
  <tr>
    <td align="center" style="padding-top:15px;">
        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" CssClass="button" Width="57" Height="25" style="cursor:pointer;" />
        <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="取消" CssClass="button" Width="57" Height="25" style="cursor:pointer;" />
        <asp:HiddenField ID="hfLicenseType" runat="server" />
    </td>
  </tr>
</table>
</td>
  </tr>
</table>


</asp:Content>
